﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Formsy.Common
{
    public class FormsyFile
    {
        #region Public Properties

        public string FieldName;
        public byte[] Bytes;
        public string[] ValidExtensions;
        public string Extension;
        public string Filename;

        #endregion


        #region public FormsyFile(string fieldName, byte[] bytes, string extension)

        public FormsyFile(string fieldName, byte[] bytes, string extension)
        {
            FieldName = fieldName;
            Bytes = bytes;
            Extension = extension;
        }
        
        #endregion

    }
}
